package com.lyk.service.impl;

import java.util.List;
import java.util.Map;

import com.common.entity.A_adminer;
import com.common.entity.PageBean;
import com.lyk.dao.A_adminerDao;
import com.lyk.dao.impl.A_adminerDaoImpl;
import com.lyk.service.A_adminerService;

public class A_adminerServiceImpl implements A_adminerService {
	private A_adminerDao adminerDao = new A_adminerDaoImpl();
	@Override
	public List<A_adminer> findByCondition(Map<String, Object> mp) {
		return adminerDao.findByCondition(mp);
	}

	@Override
	public int delA_adminer(Integer n) {
		return adminerDao.delA_adminer(n);
	}

	@Override
	public int changeEmp(A_adminer adminer) {
		return adminerDao.changeEmp(adminer);
	}

	@Override
	public int saveEmp(A_adminer adminer) {
		return adminerDao.saveEmp(adminer);
	}

	@Override
	public A_adminer findById(Integer n) {
		return adminerDao.findById(n);
	}

	@Override
	public PageBean<A_adminer> findPageByCondition(int pageIndex, int pageSize,
			Map<String, Object> map) {
		return adminerDao.findPageByCondition(pageIndex, pageSize, map);
	}

}
